# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Header: $

EAPI="2"
EGIT_REPO_URI="git://git-mirror.gnome.org/git/gnome-shell"
inherit git gnome2

DESCRIPTION="Next generation GNOME desktop shell"
HOMEPAGE="http://live.gnome.org/GnomeShell"
SRC_URI=""

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=""
DEPEND="${RDEPEND}
		dev-util/pkgconfig
		dev-util/git
		dev-libs/dbus-glib
		x11-libs/gtk+
		gnome-base/gnome-menus
		dev-libs/libffi
		gnome-base/libgnomeui
		gnome-base/librsvg
		x11-libs/libwnck
		media-libs/mesa
		dev-lang/python
		sys-libs/readline
		net-libs/xulrunner
		x11-libs/libXdamage
		x11-libs/libXScrnSaver
		sys-devel/gdb
		x11-terms/xterm
		gnome-extra/zenity
		media-libs/gstreamer
		media-libs/gst-plugins-base
		media-libs/gst-plugins-good
		net-libs/gjs
		x11-libs/mutter"

src_unpack() {
	git_src_unpack
}

src_prepare() {
	./autogen.sh || die "autogen.sh failed"
	#intltoolize --copy --force || die "intltoolize failed"
	eautoreconf || die "eautoreconf failed"
}

src_configure() {
	econf || die "econf failed"
}

src_compile() {
	emake || die "emake failed"
}


pkg_postinst () {
	gnome2_pkg_postinst
}

